<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/mobile-header.jsp"%>
<html ><head>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<meta content="false" id="twcClient" name="twcClient">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>${project.name }</title>
<link type="text/css" href="${ctxStatic }/site/themes/QiYeZhanShi/style.css" media="all" rel="stylesheet">
<script type="text/javascript" src="${ctxStatic }/jquery/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="${ctxStatic }/site/themes/QiYeZhanShi/common.js"></script>
        <script language="javascript" type="text/javascript">

            $(function() {
                $(".webwidget_scroller_tab").webwidget_scroller_tab({
                    scroller_time_interval: '500000',
                    scroller_window_padding: '10',
                    scroller_window_width: '318',
                    scroller_window_height: '500',
                    scroller_head_text_color: '#0099FF',
                    scroller_head_current_text_color: '#666',
                    directory: 'images'
                });
            });
            
            function goUrl(url){
        		location.href=url;
        	}
        </script>

<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
	
		<a id="top"></a>
	<div id="logo"><a href="tel:${project.mobile }" title="拨打电话预约服务"><img src="${ctxUser}/project/${project.logo }" alt="${project.companyName }"></a></div>
	<div id="nav">
		<ul>
			<li><a href="#" onclick="goUrl('${ctxMobileSite }/${project.id }?menuId=1')">首页</a></li>
			<li><a href="#" onclick="goUrl('${ctxMobileSite }/${project.id }?menuId=6')">简介</a></li>
			<li><a href="#" onclick="goUrl('${ctxMobileSite }/${project.id }?menuId=2')">产品</a></li>
			<li class="selected"><a style="color:#333333" href="#" onclick="goUrl('${ctxMobileSite }/${project.id }?menuId=3')">新闻</a></li>
			<li><a href="#" onclick="goUrl('${ctxMobileSite }/${project.id }?menuId=7')">联系</a></li>
		</ul>
	</div>
	<div class="webwidget_scroller_tab" id="webwidget_scroller_tab" style="width: 318px; height: 500px; ">
          <div class="tabContainer">
            <ul class="tabHead">
              <li><a href="javascript:;" style="color: rgb(0, 153, 255); ">公司新闻</a></li>
            </ul>
          </div>
		  <div class="clear"></div>
          <div class="tabBody" style="width: 316px; height: 468px; ">
            <ul style="width: 948px; height: 468px; left: -316px; ">
            	<li class="tabCot" style="width: 316px; height: 468px; ">
            		<c:forEach items="${newsList }" var="news">
            			<c:if test="${not empty news }">
            				<p class="xinwen" style="padding: 10px; "><a href="#" onclick="goUrl('${ctxMobileSite }/viewNews/${news.id }')" title="${news.title }">${news.title }</a></p>
            			</c:if>
			  		</c:forEach>
			  		<p align="center" style="font-weight: bold; font-size: 18px; padding: 10px; "><a href="#top"><img src="${ctxStatic}/site/themes/QiYeZhanShi/images/button.gif"></a></p>
              	</li>
            </ul>
          </div>
     </div>
	<div class="clear"></div>
		<div class="foot">
		<div class="copy">
			<p>版权所有 <a href="#">${project.companyName }</a> ©2010-2013</p>
		</div>
	</div>
		

</body></html>